import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import Api from './api'
import plugin from './extend'
import Vant from 'vant';
import 'vant/lib/index.css';
import './assets/style/reset.css'
import './assets/style/base.less'

Vue.use(Vant);
Vue.use(Api)
Vue.use(plugin)
Vue.config.productionTip = false

/* eslint-disable no-new */
const vm = new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})

export default vm;